$(document).ready(function(){
	$('#a-popover').popover({ content: $('#div-popover').html() });
	$('#myCarousel').carousel();
});

//form login submit
function formSubmit(){
	var keycode;
	if (window.event) keycode = window.event.keyCode;
	else if (e) keycode = e.which;
	else return true;
	
	if (keycode == 13){
		$('#login').click();
	} else {
		return true;
	}
}